<?php
/**
 +++----视图模型 fee
 */
class FeeViewModel extends ViewModel {
	 
	public $viewFields = array(
		 'fee'=>array('*' ,'_as'=>'f' ),

	);


	//獲取所有信息
	public function getAll($where,$limit,$order){
		 return $this->where($where)->limit($limit)->order($order)->select();
		// echo $this->getLastSql();die;
	}
	//獲取一條信息
	public function getOne($where){
		return $this->where($where)->find();
	}




}